//创建路由规则
import { createRouter, createWebHistory } from 'vue-router'
let router=createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:'/',
            redirect:'/ZhuceView',
         
        },
        {
          path:'/ZhuceView',
          component:()=>import('../views/ZhuceView.vue')
        },
        {
            path:'/LoginView',
            component:()=>import('../views/LoginView.vue')
        },
        {
            path:'/ShowView',
            component:()=>import('../views/ShowView.vue')
        },
        {
            path:'/DengluView',
            component:()=>import('../views/DengluView.vue')
        },
        {
            path:'/DenglushowView',
            component:()=>import('../views/DenglushowView.vue')
        },
        {
            path:'/AddView',
            component:()=>import('../views/AddView.vue')
        },
        {
            path:'/JiekuanView',
            component:()=>import('../views/JiekuanView.vue')
        }
      ]
})

//导出路由
export default router 